/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package swing;

import java.awt.Dimension;
import javax.swing.JFrame;

/**
 *
 * @author Administrator
 */
public class Frame extends JFrame{
    public Frame(){
        this("Frame Beans gggggggg");
    }
    
    public Frame(String title){
        super(title);
        super.setPreferredSize(new Dimension(500, 590));
    }
}
